package controller.command;

import model.displayer.ShapeDisplayer;

public class ShapeClearCmd extends CommandJFxImpl
{
    ShapeClearCmd(ShapeDisplayer shape)
    {
        super(shape);
    }

    @Override
    public void execute()
    {
        shape.clear();
    }

    @Override
    public void cancel()
    {
        shape.show();
    }
}
